﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Glue.Internals
{
    class HashSetImpl<T> : IHashSet<T>
    {
        private HashSet<T> hashSet = new HashSet<T>();

        public bool Contains(T key)
        {
            return hashSet.Contains(key);
        }

        public void Remove(T key)
        {
            hashSet.Remove(key);
        }

        public void Add(T key)
        {
            hashSet.Add(key);
        }
   }
}
